home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / Reference / DevCon / Milan_1991 / Devcon91.2 / Network / Socket / include / netinet / inet.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-09-01  |  1.2 KB  |  51 lines

  1. /*
  2. ** inet.library export definitions
  3. */
  4.  
  5. #ifndef NETINET_INET_H
  6. #define NETINET_INET_H
  7.  
  8. #ifndef EXEC_TYPES_H
  9. #include <exec/types.h>
  10. #endif
  11. #ifndef EXEC_LISTS_H
  12. #include <exec/lists.h>
  13. #endif
  14. #ifndef EXEC_LIBRARIES_H
  15. #include <exec/libraries.h>
  16. #endif
  17. #ifndef EXEC_IO_H
  18. #include <exec/io.h>
  19. #endif
  20.  
  21. struct InetNode
  22. {
  23.     struct  Library lib;
  24.     short   nlsize;             /* size of nlist array        */
  25.     struct nlist *names;        /* nlist entries        */
  26.     ULONG   ml_SegList;
  27.     APTR    ml_ExecBase;        /* pointer to exec base         */
  28.     LONG    ml_Data;            /* Global data                  */
  29.  
  30. };
  31.  
  32. extern struct InetNode *InetBase;
  33. #define INETNAME    "inet.library"
  34. #endif
  35.  
  36.  
  37. #ifdef undef
  38.     {"_mbstat",    MBSTAT},    {"_ipstat",    IPSTAT},
  39.     {"_tcb",    TCB},        {"_tcpstat",    TCPSTAT},
  40.     {"_udp",    UDB},        {"_udpstat",    UDPSTAT},
  41.     {"_rawcb",    RAWCB},        {"_ifnet",    IFNET},
  42.     {"imp_softc",    IMP_SOFTC},    {"_rthost",    RTHOST},
  43.     {"_rtnet",    RTNET},        {"_icmpstat",    ICMPSTAT},
  44.     {"_rtsat",    RTSTAT},    {"_nfile",    NFILE},
  45.     {"_file",    FILEV},        {"_unixsw",    UNIXSW},
  46.     {"_rthashsize", RTHASHSIZE},    {"_nspcb",    NSPCB},
  47.     {"_idpstat",    IDPSTAT},    {"_spp_istat",    SPP_ISTAT},
  48.     {"_ns_errstat",    NS_ERRSTAT},    {"_nimp",    NIMP},
  49.     {"_arptab",    ARPTAB},    {"_arptab_size",ARPTAB_SIZE},
  50. #endif
  51.